<div class="layui-form-item">
  <label class="layui-form-label">{$value['desc']|default=''}</label>
  <div class="layui-input-block">
    {foreach $value['option'] as $key=>$vo}
    {if $value['dimension']==1}
      {if $key==$value['value']}
          <input name="{$value['name']|default=''}" value="{$key}" type="radio" title="{$vo}"  checked="">
      {else}
          <input name="{$value['name']|default=''}" value="{$key}" type="radio" title="{$vo}">
      {/if}
    {else}
      {if $vo[$value['choice']]==$value['value']}
        <input name="{$value['name']|default=''}" value="{$vo[$value['choice']]}" type="radio" title="{$vo[$value['title']]}"  checked="">
      {else}
        <input name="{$value['name']|default=''}" value="{$vo[$value['choice']]}" type="radio" title="{$vo[$value['title']]}">
      {/if}
    {/if}
    {/foreach}
    <div><tip>{$value['tagging']|default=''}</tip></div>
  </div>
</div>